package com.jboost.modules.app.service.strategry.moodytiger;

import cn.hutool.core.collection.CollectionUtil;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.google.common.collect.Maps;
import com.google.gson.JsonObject;
import com.jboost.common.util.HttpRestUtils;
import com.jboost.common.util.JSONUtil;
import com.jboost.modules.app.constant.*;
import com.jboost.modules.app.dto.MoodytigerNoiceDto;
import com.jboost.modules.app.dto.XMUserReqDto;
import com.jboost.modules.app.dto.XmOrderReqDto;
import com.jboost.modules.system.entity.AJdySyncData;
import lombok.extern.slf4j.Slf4j;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import org.apache.commons.compress.utils.Lists;
import org.springframework.http.HttpHeaders;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.stream.Collectors;

@Service(value = "fsTmoodytiger")
@Slf4j
public class FsTmoodytiger extends AbstracTmoodytiger<MoodytigerNoiceDto, Boolean> {


    public BaseResult<Boolean> invokeStrategy(MoodytigerNoiceDto map) throws Exception {

        log.info("开始批量查询客户数据");
        jdyCreateFlow(map);
        return BaseResult.success();
    }



    public String getFormId() {
        return "6503df0a0bc0010008e9ae6a";
    }

}
